package com.sinosoft.vaccinetoai.common.enmu.query;

import com.fasterxml.jackson.annotation.JsonValue;
import com.sinosoft.vaccinetoai.common.enmu.IBaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 查询方式类型
 */
@AllArgsConstructor
@Getter
public enum QueryTypeEnum implements IBaseEnum {

    UNKNOWN(0,"未知"),

    REDIS(1,"redis搜索"),

    MYSQL(2,"mysql搜索"),

    ES(3,"es搜索"),

    COZE_KNOW(4,"coze知识库搜索");

    /**
     * code码
     */
    @JsonValue
    private Integer code;

    /**
     * 描述
     */
    private String desc;

}
